package com.rivulet.dawn.api.tools;

import com.rivulet.dawn.api.model.business.DictionaryModel;
import org.springframework.stereotype.Service;

@Service
public class FileTool {

    public static String getWorkPath() {
        String osName = System.getProperty("os.name").toLowerCase();
        if (osName.contains("win")) {
            return "D:\\rivulet\\dawn_workspace";
        } else {
            return "/usr/local/rivulet/dawn_workspace";
        }
    }

}
